#include "StdAfx.h"
#include "Test_bcl_numeric_limits.h"

CPPUNIT_TEST_SUITE_REGISTRATION(CTest_bcl_numeric_limits);

CTest_bcl_numeric_limits::CTest_bcl_numeric_limits(void)
{
}

CTest_bcl_numeric_limits::~CTest_bcl_numeric_limits(void)
{
}

void CTest_bcl_numeric_limits::Assertlimits()
{
	CPPUNIT_ASSERT(bcl::numberic_limits<bool>::max() == true);
	CPPUNIT_ASSERT(bcl::numberic_limits<short>::max() == SHRT_MAX);
	CPPUNIT_ASSERT(bcl::numberic_limits<unsigned short>::max() == USHRT_MAX);
	CPPUNIT_ASSERT(bcl::numberic_limits<int>::max() == INT_MAX);
	CPPUNIT_ASSERT(bcl::numberic_limits<char>::max() == CHAR_MAX);
	CPPUNIT_ASSERT(bcl::numberic_limits<float>::max() == FLT_MAX);
	CPPUNIT_ASSERT(bcl::numberic_limits<double>::max() == DBL_MAX);

}
